﻿#region zh-CHS 2006 - 2007 DemoSoft 团队 | en 2006 - 2007 DemoSoft Team

//     NOTES
// ---------------
//
// This file is a part of the G.O.S.E(Game Online Server Engine) for .NET.
//
//                 2006-2007 DemoSoft Team
//
//
// First Version : by H.Q.Cai - mailto:caihuanqing@hotmail.com

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU Lesser General Public License as published
 *   by the Free Software Foundation; either version 2.1 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

#region zh-CHS 包含名字空间 | en Include namespace
using System;
#endregion

namespace Demo_G.O.S.E.ServerEngine.Creature.General
{
    /// <summary>
    /// 
    /// </summary>
    public class GeneralMobileDelta : BaseCreatureDelta
    {
        #region zh-CHS 枚举 | en Enum
        /// <summary>
        /// 
        /// </summary>
        [Flags]
        private enum UpdateGeneralMobileDelta : ulong
        {
            None                    = 0x00000000,

            TotalGoldUpdate         = 0x00000001,
            TotalItemsUpdate        = 0x00000002,
            TotalWeightUpdate       = 0x00000004,
            RawStrengthUpdate       = 0x00000008,

            StrengthUpdate          = 0x00000010,
            RawDexterityUpdate      = 0x00000020,
            DexterityUpdate         = 0x00000040,
            RawIntellectUpdate      = 0x00000080,

            IntellectUpdate         = 0x00000100,
            RawConvergenceUpdate    = 0x00000200,
            ConvergenceUpdate       = 0x00000400,
            RawCharmUpdate          = 0x00000800,

            CharmUpdate             = 0x00001000,
            RawSenseUpdate          = 0x00002000,
            SenseUpdate             = 0x00004000,
            StaminaUpdate           = 0x00008000,

            StaminaMaxUpdate        = 0x00010000,
            HitsUpdate              = 0x00020000,
            HitsMaxUpdate           = 0x00040000,
            ManaUpdate              = 0x00080000,

            ManaMaxUpdate           = 0x00100000,
            LevelUpdate             = 0x00200000,
            ExperienceUpdate        = 0x00400000,
            SkillPointUpdate        = 0x00800000,

            SpellPointUpdate        = 0x01000000,
            StatusPointUpdate       = 0x02000000,
            HungerUpdate            = 0x04000000,
            ThirstUpdate            = 0x08000000,

            MeleeDamageAbsorbUpdate = 0x10000000,
            MagicDamageAbsorbUpdate = 0x20000000,
            ParalyzedUpdate         = 0x40000000,
            FrozenUpdate            = 0x80000000,

            StatUpdate                    = 0x000100000000,
            BasePhysicalResistanceUpdate  = 0x000200000000,
            PhysicalResistanceUpdate      = 0x000400000000,
            BaseFireResistanceUpdate      = 0x000800000000,

            FireResistanceUpdate          = 0x001000000000,
            BaseColdResistanceUpdate      = 0x002000000000,
            ColdResistanceUpdate          = 0x004000000000,
            BasePoisonResistanceUpdate    = 0x008000000000,

            PoisonResistanceUpdate        = 0x010000000000,
            BaseEnergyResistanceUpdate    = 0x020000000000,
            EnergyResistanceUpdate        = 0x040000000000,
            ResistanceUpdate              = 0x080000000000,

            CombatantUpdate               = 0x100000000000,
        }
        #endregion

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private UpdateGeneralMobileDelta m_MobileDelta = UpdateGeneralMobileDelta.None;
        #endregion

        #region zh-CHS 共有属性 | en Public Properties
        /// <summary>
        /// 
        /// </summary>
        public bool TotalWeightUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.TotalWeightUpdate ) == UpdateGeneralMobileDelta.TotalWeightUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool TotalGoldUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.TotalGoldUpdate ) == UpdateGeneralMobileDelta.TotalGoldUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool TotalItemsUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.TotalItemsUpdate ) == UpdateGeneralMobileDelta.TotalItemsUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool RawStrengthUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.RawStrengthUpdate ) == UpdateGeneralMobileDelta.RawStrengthUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool StrengthUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.StrengthUpdate ) == UpdateGeneralMobileDelta.StrengthUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool RawDexterityUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.RawDexterityUpdate ) == UpdateGeneralMobileDelta.RawDexterityUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool DexterityUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.DexterityUpdate ) == UpdateGeneralMobileDelta.DexterityUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool RawIntellectUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.RawIntellectUpdate ) == UpdateGeneralMobileDelta.RawIntellectUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool IntellectUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.IntellectUpdate ) == UpdateGeneralMobileDelta.IntellectUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool RawConvergenceUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.RawConvergenceUpdate ) == UpdateGeneralMobileDelta.RawConvergenceUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool ConvergenceUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.ConvergenceUpdate ) == UpdateGeneralMobileDelta.ConvergenceUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool RawCharmUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.RawCharmUpdate ) == UpdateGeneralMobileDelta.RawCharmUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool CharmUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.CharmUpdate ) == UpdateGeneralMobileDelta.CharmUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool RawSenseUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.RawSenseUpdate ) == UpdateGeneralMobileDelta.RawSenseUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool SenseUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.SenseUpdate ) == UpdateGeneralMobileDelta.SenseUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool StaminaUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.StaminaUpdate ) == UpdateGeneralMobileDelta.StaminaUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool StaminaMaxUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.StaminaMaxUpdate ) == UpdateGeneralMobileDelta.StaminaMaxUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool HitsUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.HitsUpdate ) == UpdateGeneralMobileDelta.HitsUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool HitsMaxUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.HitsMaxUpdate ) == UpdateGeneralMobileDelta.HitsMaxUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool ManaUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.ManaUpdate ) == UpdateGeneralMobileDelta.ManaUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool ManaMaxUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.ManaMaxUpdate ) == UpdateGeneralMobileDelta.ManaMaxUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool LevelUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.LevelUpdate ) == UpdateGeneralMobileDelta.LevelUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool ExperienceUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.ExperienceUpdate ) == UpdateGeneralMobileDelta.ExperienceUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool SkillPointUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.SkillPointUpdate ) == UpdateGeneralMobileDelta.SkillPointUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool SpellPointUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.SpellPointUpdate ) == UpdateGeneralMobileDelta.SpellPointUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool StatusPointUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.StatusPointUpdate ) == UpdateGeneralMobileDelta.StatusPointUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool HungerUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.HungerUpdate ) == UpdateGeneralMobileDelta.HungerUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool ThirstUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.ThirstUpdate ) == UpdateGeneralMobileDelta.ThirstUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool MeleeDamageAbsorbUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.MeleeDamageAbsorbUpdate ) == UpdateGeneralMobileDelta.MeleeDamageAbsorbUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool MagicDamageAbsorbUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.MagicDamageAbsorbUpdate ) == UpdateGeneralMobileDelta.MagicDamageAbsorbUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool ParalyzedUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.ParalyzedUpdate ) == UpdateGeneralMobileDelta.ParalyzedUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool FrozenUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.FrozenUpdate ) == UpdateGeneralMobileDelta.FrozenUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool StatUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.StatUpdate ) == UpdateGeneralMobileDelta.StatUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool BasePhysicalResistanceUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.BasePhysicalResistanceUpdate ) == UpdateGeneralMobileDelta.BasePhysicalResistanceUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool PhysicalResistanceUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.PhysicalResistanceUpdate ) == UpdateGeneralMobileDelta.PhysicalResistanceUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool BaseFireResistanceUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.BaseFireResistanceUpdate ) == UpdateGeneralMobileDelta.BaseFireResistanceUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool FireResistanceUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.FireResistanceUpdate ) == UpdateGeneralMobileDelta.FireResistanceUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool BaseColdResistanceUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.BaseColdResistanceUpdate ) == UpdateGeneralMobileDelta.BaseColdResistanceUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool ColdResistanceUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.ColdResistanceUpdate ) == UpdateGeneralMobileDelta.ColdResistanceUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool BasePoisonResistanceUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.BasePoisonResistanceUpdate ) == UpdateGeneralMobileDelta.BasePoisonResistanceUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool PoisonResistanceUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.PoisonResistanceUpdate ) == UpdateGeneralMobileDelta.PoisonResistanceUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool BaseEnergyResistanceUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.BaseEnergyResistanceUpdate ) == UpdateGeneralMobileDelta.BaseEnergyResistanceUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool EnergyResistanceUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.EnergyResistanceUpdate ) == UpdateGeneralMobileDelta.EnergyResistanceUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool ResistanceUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.ResistanceUpdate ) == UpdateGeneralMobileDelta.ResistanceUpdate ? true : false; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool CombatantUpdate
        {
            get { return ( m_MobileDelta & UpdateGeneralMobileDelta.CombatantUpdate ) == UpdateGeneralMobileDelta.CombatantUpdate ? true : false; }
        }
        #endregion

        #region zh-CHS 共有方法 | en Public Methods
        /// <summary>
        /// 
        /// </summary>
        public void DeltaTotalWeightUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.TotalWeightUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreTotalWeightUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.TotalWeightUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaTotalGoldUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.TotalGoldUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreTotalGoldUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.TotalGoldUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaTotalItemsUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.TotalItemsUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreTotalItemsUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.TotalItemsUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaRawStrengthUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.RawStrengthUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreRawStrengthUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.RawStrengthUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaStrengthUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.StrengthUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreStrengthUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.StrengthUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaRawDexterityUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.RawDexterityUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreRawDexterityUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.RawDexterityUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaDexterityUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.DexterityUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreDexterityUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.DexterityUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaRawIntellectUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.RawIntellectUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreRawIntellectUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.RawIntellectUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaIntellectUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.IntellectUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreIntellectUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.IntellectUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaRawConvergenceUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.RawConvergenceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreRawConvergenceUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.RawConvergenceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaConvergenceUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.ConvergenceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreConvergenceUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.ConvergenceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaRawCharmUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.RawCharmUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreRawCharmUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.RawCharmUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaCharmUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.CharmUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreCharmUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.CharmUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaRawSenseUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.RawSenseUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreRawSenseUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.RawSenseUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaSenseUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.SenseUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreSenseUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.SenseUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaStaminaUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.StaminaUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreStaminaUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.StaminaUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaStaminaMaxUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.StaminaMaxUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreStaminaMaxUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.StaminaMaxUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaHitsUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.HitsUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreHitsUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.HitsUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaHitsMaxUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.HitsMaxUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreHitsMaxUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.HitsMaxUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaManaUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.ManaUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreManaUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.ManaUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaManaMaxUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.ManaMaxUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreManaMaxUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.ManaMaxUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaLevelUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.LevelUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreLevelUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.LevelUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaExperienceUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.ExperienceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreExperienceUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.ExperienceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaSkillPointUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.SkillPointUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreSkillPointUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.SkillPointUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaSpellPointUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.SpellPointUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreSpellPointUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.SpellPointUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaStatusPointUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.StatusPointUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreStatusPointUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.StatusPointUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaHungerUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.HungerUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreHungerUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.HungerUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaThirstUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.ThirstUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreThirstUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.ThirstUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaMeleeDamageAbsorbUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.MeleeDamageAbsorbUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreMeleeDamageAbsorbUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.MeleeDamageAbsorbUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaMagicDamageAbsorbUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.MagicDamageAbsorbUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreMagicDamageAbsorbUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.MagicDamageAbsorbUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaParalyzedUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.ParalyzedUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreParalyzedUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.ParalyzedUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaFrozenUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.FrozenUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreFrozenUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.FrozenUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaStatUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.StatUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreStatUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.StatUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaBasePhysicalResistanceUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.BasePhysicalResistanceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreBasePhysicalResistanceUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.BasePhysicalResistanceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaPhysicalResistanceUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.PhysicalResistanceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestorePhysicalResistanceUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.PhysicalResistanceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaBaseFireResistanceUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.BaseFireResistanceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreBaseFireResistanceUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.BaseFireResistanceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaFireResistanceUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.FireResistanceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreFireResistanceUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.FireResistanceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaBaseColdResistanceUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.BaseColdResistanceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreBaseColdResistanceUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.BaseColdResistanceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaColdResistanceUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.ColdResistanceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreColdResistanceUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.ColdResistanceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaBasePoisonResistanceUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.BasePoisonResistanceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreBasePoisonResistanceUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.BasePoisonResistanceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaPoisonResistanceUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.PoisonResistanceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestorePoisonResistanceUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.PoisonResistanceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaBaseEnergyResistanceUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.BaseEnergyResistanceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreBaseEnergyResistanceUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.BaseEnergyResistanceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaEnergyResistanceUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.EnergyResistanceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreEnergyResistanceUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.EnergyResistanceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaResistanceUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.ResistanceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreResistanceUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.ResistanceUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void DeltaCombatantUpdate()
        {
            m_MobileDelta |= UpdateGeneralMobileDelta.CombatantUpdate;
        }

        /// <summary>
        /// 
        /// </summary>
        public void RestoreCombatantUpdate()
        {
            m_MobileDelta &= ~UpdateGeneralMobileDelta.CombatantUpdate;
        }
        #endregion
    }
}
#endregion

